package com.cf.user.permission.service;


import com.cf.user.login.model.UserInfo;

/**
 * game-server-PermissionConfigure
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/28 下午 02:47
 */
public interface PermissionManager {

    /**
     * 是否有权限
     *
     * @param path
     * @return
     */
    boolean hasPermission(String path, UserInfo userInfo);

}
